#-------------------------------------------------
#-------------------------------------------------

TEMPLATE = lib
CONFIG  += plugin
TARGET   = $$qtLibraryTarget(festvoxsynth)


INCLUDEPATH += ../../editor ../ ../../tools
LIBS += -Wl,--no-undefined

PKGCONFIG += glib-2.0

LIBS += -ljack -lsndfile

CONFIG      += link_pkgconfig


HEADERS += \
    festvox_synth.h

SOURCES += \
    festvox_synth.cpp

QMAKE_CXXFLAGS += -Wall -std=c++11

#--------------------------------------------
CONFIG(debug, debug|release) {
    COMPILEDIR = $${OUT_PWD}/../../debug
    LIBS += -Wl,--no-undefined
} else {
    COMPILEDIR = $${OUT_PWD}/../../release
}

DESTDIR         = $${COMPILEDIR}/plugins
OBJECTS_DIR     = $${COMPILEDIR}/festvoxsynth/.obj
MOC_DIR         = $${COMPILEDIR}/festvoxsynth/.moc
RCC_DIR         = $${COMPILEDIR}/festvoxsynth/.rcc
UI_DIR          = $${COMPILEDIR}/festvoxsynth/.ui
#--------------------------------------------

unix {
    target.path = $${PREFIX}/lib/qtau/plugins
    INSTALLS += target
}
